<template>
  <div>
    <div :id="item.id" class="comment" v-for="item in comments" :key="item.id">
      <div class="inner">
        <div class="comment-header">
          <div class="asset-meta">
            <p>
              <span class="byline">
                <span class="vcard author">{{ item.name }}</span>
                说：
              </span>
            </p>
          </div>
        </div>
        <div class="comment-content" id="comment-quote-432410">
          <p>{{ item.comments }}</p>
        </div>
        <div class="comment-footer">
          <div class="comment-footer-inner">
            <p>
              <abbr class="published" title="February 27, 2022  2:16 PM">{{item.create_time | timeFormat}}</abbr>
            </p>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import { timeFormat } from "@/utils/utils.js";
export default {
  props: ["comments"],
  data() {
    return {};
  },
  filters:{
    timeFormat
  }
};
</script>
